package com.lx.bookstore.dao;

import com.lx.bookstore.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BookMapper {

    List<Book> bookList();

    boolean addBook(Book book);

    boolean delBook(Integer[] id);

    Book all(Integer id);
    boolean update(Book book);
}
